package cn.com.headfree.base.service.impl;


import cn.com.headfree.base.dao.TDingUserDao;
import cn.com.headfree.base.service.TDingUserService;
import cn.com.headfree.entity.isc.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("tDingUserService")
public class TDingUserServiceImpl implements TDingUserService {

    @Autowired
    private TDingUserDao tDingUserDao;

    @Override
    public User getLoginUserInfoByUserId(String userId) {
        return tDingUserDao.getLoginUserInfoByUserId(userId);
    }

    @Override
    public User getLoginUserInfoByAccount(String account) {
        return tDingUserDao.getLoginUserInfoByAccount(account);
    }
}
